package com.etc.单例模式.懒汉式;

/**
 * @Author 静静
 * @Description
 * @Date 2021/3/7  15:41
 **/
public class test {
    public static void main(String[] args) {
        Cat instance = Cat.getInstance();
        instance.CatInfo();
        Cat instance1 = Cat.getInstance();
        instance1.CatInfo();

    }
}
